package com.ruoyi.bath.request.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 申请信息对象 request
 * 
 * @author ruoyi
 * @date 2021-08-06
 */
@Data
@Accessors(chain = true)

public class Request extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号  */
    private Long id;


    /** 申请人 */
    @Excel(name = "申请人")
    private String requestName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd ")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd ")
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    private String requestTime;

    /** 申请技师编号 */
    @Excel(name = "申请技师编号")
    private String requestNum;

    /** 技师开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "技师开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private String requestBegintime;

    /** 技师结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "技师结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private String requestEndtime;
    //申请内容
    private String contents;
    public void setContents(String contents)
    {
        this.contents = contents;
    }

    public String getContents()
    {
        return contents;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRequestName(String requestName) 
    {
        this.requestName = requestName;
    }

    public String getRequestName() 
    {
        return requestName;
    }
    public void setRequestTime(String requestTime)
    {
        this.requestTime = requestTime;
    }

    public String getRequestTime()
    {
        return requestTime;
    }
    public void setRequestNum(String requestNum) 
    {
        this.requestNum = requestNum;
    }

    public String getRequestNum() 
    {
        return requestNum;
    }
    public void setRequestBegintime(String requestBegintime)
    {
        this.requestBegintime = requestBegintime;
    }

    public String getRequestBegintime()
    {
        return requestBegintime;
    }
    public void setRequestEndtime(String requestEndtime)
    {
        this.requestEndtime = requestEndtime;
    }

    public String getRequestEndtime()
    {
        return requestEndtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("requestName", getRequestName())
            .append("requestTime", getRequestTime())
            .append("requestNum", getRequestNum())
            .append("requestBegintime", getRequestBegintime())
            .append("requestEndtime", getRequestEndtime())
            .append("contents", getContents())
            .toString();
    }
}
